package com.ensibs.nuitinfo2013.model;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

public class Topic implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private int id;
	
	private String Titre;
	
	private String Question;
	
	private String auteur;
	
	private List<String> tags;
	
	private List<String> reponses;
	
	private boolean resolu;
	
	private String peutRepondre;
	
	
	
	public Topic() {
		resolu = false;
		tags = new LinkedList<String>();
		reponses = new LinkedList<String>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitre() {
		return Titre;
	}

	public void setTitre(String titre) {
		Titre = titre;
	}

	public String getQuestion() {
		return Question;
	}

	public void setQuestion(String question) {
		Question = question;
	}

	public String getAuteur() {
		return auteur;
	}

	public void setAuteur(String auteur) {
		this.auteur = auteur;
	}

	public List<String> getTags() {
		return tags;
	}

	public void setTags(List<String> tags) {
		this.tags = tags;
	}

	public List<String> getReponses() {
		return reponses;
	}

	public void setReponses(List<String> reponses) {
		this.reponses = reponses;
	}

	public boolean isResolu() {
		return resolu;
	}

	public void setResolu(boolean resolu) {
		this.resolu = resolu;
	}

	public String getPeutRepondre() {
		return peutRepondre;
	}

	public void setPeutRepondre(String peutRepondre) {
		this.peutRepondre = peutRepondre;
	}
}
